package com.zhtooles.config.mybatis;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.autoconfigure.AutoConfigureAfter;
import org.springframework.context.annotation.Configuration;

@Configuration
@AutoConfigureAfter(MyBatisConfig.class)
@MapperScanner(basePackages = {"${mybatis.config.mapper.locations}"}, sqlSessionFactoryRef = "sqlSessionFactory")
public class MybatisScanConfiguration {
    private static final Logger LOGGER = LoggerFactory.getLogger(MyBatisConfig.class);

    public MybatisScanConfiguration() {
        LOGGER.info("*************************MybatisScan Config***********************");
    }
}
